Vendidero\Germanized\Shipments\ShippingMethod\ShippingMethod D

Total Complexity 217
Dependencies 10
Dependents 1
Total lines 1,331
Lines of code 1,094
Logical lines of code 490
Comment lines 51
Methods 34
Properties 2

Methods 34

Method Rating Maintainability Complexity Lines of code
calculate_shipping()
D
20
49 214
rule_applies()
D
34 39 76
generate_shipping_rules_html()
C
26
21 195
validate_shipping_rules_field()
C
34 23 84
get_available_packaging_boxes()
B
38 23 64
get_condition_types()
A
35 3 118
get_global_rules()
A
53 8 24
__construct()
S
51 6 26
get_cache()
S
55 4 21
admin_options()
S
49 3 32
init_form_fields()
S
44 1 56
get_zone()
S
66 3 9
get_condition_type()
S
60 2 15
get_packaging_list()
S
63 3 10
get_rule_conditional_operators()
S
55 1 23
get_admin_options_html()
S
66 2 8
get_packaging_help_tip()
S
68 2 7
get_packaging_edit_url()
S
69 2 7
get_shipping_rule_by_id()
S
66 2 8
get_shipping_rules_by_packaging()
S
67 2 8
get_rate_label()
S
67 2 7
get_fallback_shipping_rules()
S
67 2 8
get_conditional_operator()
S
69 2 7
update_option()
S
67 2 7
parse_rule()
S
61 1 14
parse_rule_condition()
S
61 1 14
get_multiple_rules_cost_calculation_mode()
S
79 1 3
get_multiple_shipments_cost_calculation_mode()
S
79 1 3
init()
S
70 1 6
generate_cache_html()
S
82 1 3
get_shipping_rules()
S
80 1 3
validate_cache_field()
S
67 1 8
get_all_shipping_rules()
S
79 1 3
get_shipping_provider()
S
82 1 3